package org.teremail.mailbox.search;

public class HeaderSearchTerm implements SearchTerm {

    private final String name;
    private final String value;

    public HeaderSearchTerm(String name, String value) {
        this.name = name;
        this.value = value;
    }

    public void accept(SearchTermVisitor v) {
        v.visitHeader(name, value);
    }

}
